package xcmg.device.service.vo.barcode;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ToString
public class BarCodeCheckView implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(name = "barCode")
    private String barCode;

    @ApiModelProperty(name = "materialsNo")
    private String materialsNo;

    @ApiModelProperty(name = "materialsDes")
    private String materialsDes;

    @ApiModelProperty(name = "totalQty", value = "总条码上的个数")
    private BigDecimal totalQty;

    @ApiModelProperty(name = "currentQty", value = "当前条码上个数")
    private BigDecimal currentQty;

    @ApiModelProperty(name = "wxQueryTimes", value = "微信端查询的次数")
    private Integer wxQueryTimes;

    @ApiModelProperty(value = "条码状态，对应条码表中状态，（0-已打印1-已入库2-已出库3-已拆分4-合包）", name = "barcodeStatus")
    private String barcodeStatus;

    //在库的相关信息
    @ApiModelProperty(value = "在库的企业", name = "orgId")
    private String orgId;
    //
    @ApiModelProperty(value = "在库的数量", name = "amount")
    private BigDecimal amount;
    //
    @ApiModelProperty(value = "在库的企业名称", name = "companyName")
    private String companyName;
    //
    @ApiModelProperty(value = "在库的企业地址", name = "address")
    private String address;

    @ApiModelProperty(value = "供货信息")
    private BarCodeCheckSupply supply;

    @ApiModelProperty(value = "代理商出库信息")
    private BarCodeCheckOutInfo dealerOutInfo;

    @ApiModelProperty(value = "服务站出库信息")
    private BarCodeCheckOutInfo fwzOutInfo;


}
